.process-flow {
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}

.flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.flow-header .flow-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-header .flow-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-title {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.flow-icon {
  font-size: 16px;
}

.flow-progress {
  font-size: 12px;
  color: #6c757d;
  background: #e9ecef;
  padding: 4px 8px;
  border-radius: 12px;
}

.processing-indicator {
  color: #ffc107;
  font-weight: 500;
}

.completed-indicator {
  color: #28a745;
  font-weight: 600;
}

.toggle-btn {
  background: none;
  border: 1px solid #e8eaed;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
}

.toggle-btn:hover {
  background: #f8f9fa;
  border-color: #4285f4;
  color: #4285f4;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.flow-step {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.flow-step.completed {
  background: #f8fff9;
  border: 1px solid #d4edda;
}

.flow-step.processing {
  background: #fffdf5;
  border: 1px solid #ffeaa7;
}

.flow-step.pending {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  opacity: 0.7;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6c757d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}

.flow-step.completed .step-number {
  background: #28a745;
}

.flow-step.processing .step-number {
  background: #ffc107;
}

.step-icon {
  margin-right: 12px;
  font-size: 16px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-name {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2px;
}

.step-desc {
  font-size: 11px;
  color: #6c757d;
  line-height: 1.3;
}

.step-time {
  font-size: 10px;
  color: #6c757d;
  margin-left: 12px;
  flex-shrink: 0;
}

.step-connector {
  position: absolute;
  left: 24px;
  top: 36px;
  width: 2px;
  height: 20px;
  background: #e9ecef;
  z-index: 1;
}

.flow-step.completed + .flow-step .step-connector {
  background: #d4edda;
}


/* 响应式设计 */
@media (max-width: 768px) {
  .process-flow {
    padding: 12px;
  }
  
  .flow-step {
    padding: 10px 12px;
  }
  
  .step-number {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  
  .step-name {
    font-size: 12px;
  }
  
  .step-desc {
    font-size: 10px;
  }
}
